
const Router = require('express')
const RoleController = require('../../role/controllers.js')
const router = Router()

/* 服务端 */
router.get('/role/list', RoleController.getRoleList)
/* 添加组织 */
router.post('/role/new', RoleController.createRole)
// /* 拉取菜单信息 */
// router.get('/user/:id', RoleController.getOne)
// /* 删除菜单 */
// router.delete('/user/:id', RoleController.deleteOne)
// /* 更新菜单 */
// router.post('/user/:id', RoleController.updateOne)


/* 客户端 */
// router.get('/member', RoleController.getUsers)
// router.get('/member/:id', RoleController.memberGetBaseInfo)
// router.post('/member/login', RoleController.memberLoginAction)

module.exports = router
